package com.clkj.zhonghui.pojo.stored;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-11 11:29:58
 * 储值金等级表
 */
@ApiModel( value ="t_zh_storedGrade" )
@Table( name ="t_zh_storedGrade" )
public class StoredGrade  implements Serializable {

    @Id
   	@Column(name = "grade_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer gradeId;

	/**
	 * vip等级
	 */
   	@Column(name = "vip_num" )
	@ApiModelProperty( value="vip等级")
	private Integer vipNum;

	/**
	 * 总储值金额，当达到该值，则可升级为该等级
	 */
   	@Column(name = "stored_money" )
	@ApiModelProperty( value="总储值金额，当达到该值，则可升级为该等级")
	private Double storedMoney;

	/**
	 * 等级名称
	 */
   	@Column(name = "vip_name" )
	@ApiModelProperty( value="等级名称")
	private String vipName;

  public Integer getGradeId() {
    return gradeId;
  }

  public void setGradeId(Integer gradeId) {
    this.gradeId = gradeId;
  }


  public Integer getVipNum() {
    return vipNum;
  }

  public void setVipNum(Integer vipNum) {
    this.vipNum = vipNum;
  }


  public Double getStoredMoney() {
    return storedMoney;
  }

  public void setStoredMoney(Double storedMoney) {
    this.storedMoney = storedMoney;
  }


  public String getVipName() {
    return vipName;
  }

  public void setVipName(String vipName) {
    this.vipName = vipName;
  }

}
